import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引css样式
import './assets/css/index.scss'

//引入lib-flexible
import 'lib-flexible'

//全局用vant-button
import {
    Button,
    Form,
    Field,
    Tab,
    Tabs,
    Rate,
    Icon,
    Tag,
    Divider,
    NoticeBar,
    Sidebar,
    SidebarItem,
    Card,
} from 'vant'

Vue.use(Form)
    .use(Field)
    .use(Button)
    .use(Tab)
    .use(Tabs)
    .use(Rate)
    .use(Icon)
    .use(Tag)
    .use(Divider)
    .use(NoticeBar)
    .use(Sidebar)
    .use(SidebarItem)
    .use(Card)

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')